# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1292939922.820404
_template_filename='/home/sunzheng/Projects/FidoWeb/FidoWeb_0.98/fidoweb/templates/login/signup.mako'
_template_uri='login/signup.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
from webhelpers.html import escape
_exports = []


def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        c = context.get('c', UNDEFINED)
        request = context.get('request', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1

        c.jsFiles.append('/script/login/signup.js?v=12')
        
        
        # SOURCE LINE 3
        __M_writer(u'\n<style type="text/css">\n#require_code{\n\tcursor:pointer;\n\tposition:absolute;\n\tright:0;\n\twidth:90px;\n\theight:25px;\n\tmargin-right:120px;\n\tbackground:url(\'/image/global/button_send_authcode.png\');\n}\n#require_code:hover{background-position:0 -25px;}\n#form_signup #submit{\n\tcursor:pointer;\n\tposition:absolute;\n\tright:30px;\n\twidth:130px;\n\theight:25px;\n\tbackground:url(\'/image/global/button_ensure_signup.png\');\n}\n#form_signup #submit:hover{background-position:0 -25px;}\n</style>\n<div id="signup_page_bound">\n\t<div class="page_variable">\n\t\t<div var_name="errMsg">')
        # SOURCE LINE 27
        __M_writer(filters.decode.utf8(c.errMsg))
        __M_writer(u'</div>\n\t\t<div var_name="last_signup_gender">\n')
        # SOURCE LINE 29
        if 'gender' in request.POST : 
            # SOURCE LINE 30
            __M_writer(u'\t\t\t\t')
            __M_writer(filters.decode.utf8(request.POST['gender']))
            __M_writer(u'\n')
            pass
        # SOURCE LINE 32
        __M_writer(u'\t\t</div>\n\t\t<div var_name="last_signup_birthday_year">\n')
        # SOURCE LINE 34
        if 'birthday_year' in request.POST : 
            # SOURCE LINE 35
            __M_writer(u'\t\t\t\t')
            __M_writer(filters.decode.utf8(request.POST['birthday_year']))
            __M_writer(u'\n')
            pass
        # SOURCE LINE 37
        __M_writer(u'\t\t</div>\n\t\t<div var_name="last_signup_birthday_month">\n')
        # SOURCE LINE 39
        if 'birthday_month' in request.POST : 
            # SOURCE LINE 40
            __M_writer(u'\t\t\t\t')
            __M_writer(filters.decode.utf8(request.POST['birthday_month']))
            __M_writer(u'\n')
            pass
        # SOURCE LINE 42
        __M_writer(u'\t\t</div>\n\t\t<div var_name="last_signup_birthday_day">\n')
        # SOURCE LINE 44
        if 'birthday_day' in request.POST : 
            # SOURCE LINE 45
            __M_writer(u'\t\t\t\t')
            __M_writer(filters.decode.utf8(request.POST['birthday_day']))
            __M_writer(u'\n')
            pass
        # SOURCE LINE 47
        __M_writer(u'\t\t</div>\n\t\t<div var_name="last_signup_school">\n')
        # SOURCE LINE 49
        if 'school' in request.POST : 
            # SOURCE LINE 50
            __M_writer(u'\t\t\t\t')
            __M_writer(filters.decode.utf8(request.POST['school']))
            __M_writer(u'\n')
            pass
        # SOURCE LINE 52
        __M_writer(u'\t\t</div>\n\t\t<div var_name="last_signup_profession">\n')
        # SOURCE LINE 54
        if 'profession' in request.POST : 
            # SOURCE LINE 55
            __M_writer(u'\t\t\t\t')
            __M_writer(filters.decode.utf8(request.POST['profession']))
            __M_writer(u'\n')
            pass
        # SOURCE LINE 57
        __M_writer(u'\t\t</div>\n\t\t<div var_name="last_signup_grade">\n')
        # SOURCE LINE 59
        if 'grade' in request.POST : 
            # SOURCE LINE 60
            __M_writer(u'\t\t\t\t')
            __M_writer(filters.decode.utf8(request.POST['grade']))
            __M_writer(u'\n')
            pass
        # SOURCE LINE 62
        __M_writer(u'\t\t</div>\n\t</div>\n')
        # SOURCE LINE 64
        if 'method' in request.GET and request.GET['method'] == 'email' :
            # SOURCE LINE 65
            __M_writer(u'\t\t<h1>\u90ae\u7bb1\u6ce8\u518c<span style="font-weight:normal;font-size:12px;">\uff08<a href="/login/signup">\u624b\u673a\u6ce8\u518c\uff1f</a>\uff09</span></h1>\n')
            # SOURCE LINE 66
        else :
            # SOURCE LINE 67
            __M_writer(u'\t\t<h1>\u624b\u673a\u6ce8\u518c<span style="font-weight:normal;font-size:12px;">\uff08<a href="/login/signup?method=email">\u90ae\u7bb1\u6ce8\u518c\uff1f</a>\uff09</span></h1>\n')
            pass
        # SOURCE LINE 69
        __M_writer(u'\t<div class="page_column_left_padding15">\n\t\t<div class="top"></div>\n\t\t<div class="content">\n')
        # SOURCE LINE 72
        if 'method' in request.GET and request.GET['method'] == 'email' :
            # SOURCE LINE 73
            __M_writer(u'\t\t\t<form id="form_signup" method="post" action="/login/signup?method=email" onsubmit="return checkForm();">\n')
            # SOURCE LINE 74
        else :
            # SOURCE LINE 75
            __M_writer(u'\t\t\t<form id="form_signup" method="post" action="/login/signup" onsubmit="return checkForm();">\n')
            pass
        # SOURCE LINE 77
        __M_writer(u'\t\t\t\t<h2>\u5b9e\u540d\u4fe1\u606f</h2>\n')
        # SOURCE LINE 78
        if 'method' in request.GET and request.GET['method'] == 'email' : 
            # SOURCE LINE 79
            __M_writer(u'\t\t\t\t\t<div id="signup_email">\n\t\t\t\t\t\t<label>\u90ae\u7bb1</label>\n')
            # SOURCE LINE 81
            if 'email' in request.POST :
                # SOURCE LINE 82
                __M_writer(u'\t\t\t\t\t\t\t<input type="input" id="signup_input_email" name="email" class="validate[required,custom[email]]" value="')
                __M_writer(filters.decode.utf8(request.POST['email']))
                __M_writer(u'"></input>\n')
                # SOURCE LINE 83
            else :
                # SOURCE LINE 84
                __M_writer(u'\t\t\t\t\t\t\t<input type="input" id="signup_input_email" name="email" class="validate[required,custom[email]]" value=""></input>\n')
                pass
            # SOURCE LINE 86
            __M_writer(u'\t\t\t\t\t\t<a href="javascript:void(0);" id="require_code"></a>\n\t\t\t\t\t</div>\n')
            # SOURCE LINE 88
        else :
            # SOURCE LINE 89
            __M_writer(u'\t\t\t\t\t<div id="signup_mobile">\n\t\t\t\t\t\t<label>\u624b\u673a\u53f7</label>\n')
            # SOURCE LINE 91
            if 'mobile' in request.POST :
                # SOURCE LINE 92
                __M_writer(u'\t\t\t\t\t\t\t<input id="signup_input_mobile" name="mobile" class="validate[required,funcCall[validateMobile]]" value="')
                __M_writer(filters.decode.utf8(request.POST['mobile']))
                __M_writer(u'"></input>\n')
                # SOURCE LINE 93
            else :
                # SOURCE LINE 94
                __M_writer(u'\t\t\t\t\t\t\t<input id="signup_input_mobile" name="mobile" class="validate[required,funcCall[validateMobile]]" value=""></input>\n')
                pass
            # SOURCE LINE 96
            __M_writer(u'\t\t\t\t\t\t<a href="javascript:void(0);" id="require_code"></a>\n\t\t\t\t\t</div>\n')
            pass
        # SOURCE LINE 99
        __M_writer(u'\t\t\t\t<div id="signup_register_code">\n\t\t\t\t\t<label>\u9a8c\u8bc1\u7801</label>\n')
        # SOURCE LINE 101
        if 'registerCode' in request.POST :
            # SOURCE LINE 102
            __M_writer(u'\t\t\t\t\t\t<input id="input_register_code" name="registerCode" class="validate[required,fixedLength[8]]" value="')
            __M_writer(filters.decode.utf8(request.POST['registerCode']))
            __M_writer(u'"></input>\n')
            # SOURCE LINE 103
        else :
            # SOURCE LINE 104
            __M_writer(u'\t\t\t\t\t\t<input id="input_register_code" name="registerCode" class="validate[required,fixedLength[8]]" value=""></input>\n')
            pass
        # SOURCE LINE 106
        __M_writer(u'\t\t\t\t</div>\n\t\t\t\t<div id="signup_password">\n\t\t\t\t\t<label>\u5bc6\u7801</label>\n\t\t\t\t\t<input type="password" name="password" id="input_password" class="validate[required,funcCall[validateNewPass]]"></input>\n\t\t\t\t</div>\n\t\t\t\t<div id="signup_confirm_pass">\n\t\t\t\t\t<label>\u786e\u8ba4\u5bc6\u7801</label>\n\t\t\t\t\t<input type="password" id="input_confirm_pass" class="validate[required,funcCall[validateRetypePass]]"></input>\n\t\t\t\t</div>\n\t\t\t\t<h2>\u57fa\u672c\u4fe1\u606f</h2>\n\t\t\t\t<div id="signup_name">\n\t\t\t\t\t<label>\u59d3\u540d</label>\n')
        # SOURCE LINE 118
        if 'name' in request.POST :
            # SOURCE LINE 119
            __M_writer(u'\t\t\t\t\t\t<input id="input_name" name="name" class="validate[required,uLength[4,16],funcCall[validateName]]" value="')
            __M_writer(filters.decode.utf8(request.POST['name']))
            __M_writer(u'"></input>\n')
            # SOURCE LINE 120
        else :
            # SOURCE LINE 121
            __M_writer(u'\t\t\t\t\t\t<input id="input_name" name="name" class="validate[required,uLength[4,16],funcCall[validateName]]" value=""></input>\n')
            pass
        # SOURCE LINE 123
        __M_writer(u'\t\t\t\t</div>\n\t\t\t\t<div id="signup_gender">\n\t\t\t\t\t<label>\u6027\u522b</label>\n\t\t\t\t\t<input type="radio" name="gender" id="input_gender" class="validate[required]" value="male">\u7537</input>\n\t\t\t\t\t<input type="radio" name="gender" id="input_gender" class="validate[required]" value="female">\u5973</input>\n\t\t\t\t</div>\n\t\t\t\t<div id="signup_birthday">\n\t\t\t\t\t<label>\u751f\u65e5</label>\n\t\t\t\t\t<select name="birthday_year" id="input_birthday_year" style="width:70px;">\n\t\t\t\t\t\t<option value=\'--\'>\u8bf7\u9009\u62e9</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<select name="birthday_month" id="input_birthday_month" style="width:42px;">\n\t\t\t\t\t\t<option value=\'--\'>--</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<select name="birthday_day" id="input_birthday_day" style="width:42px;">\n\t\t\t\t\t\t<option value=\'--\'>--</option>\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\t\t\t\t<div id="signup_school">\n\t\t\t\t\t<label>\u5b66\u6821</label>\n\t\t\t\t\t<select name="school" id="input_school" style="width:160px;"></select>\n\t\t\t\t</div>\n\t\t\t\t<div id="signup_profession">\n\t\t\t\t\t<label>\u4e13\u4e1a</label>\n\t\t\t\t\t<select name="profession" id="input_profession" style="width:160px;">\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\t\t\t\t<div id="user_grade">\n\t\t\t\t\t<label>\u5e74\u7ea7</label>\n\t\t\t\t\t<select name="grade" id="input_grade" style="width:160px;">\n\t\t\t\t\t\t<option value=\'--\'>\u8bf7\u9009\u62e9</option>\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\t\t\t\t<h2>\u9644\u52a0\u4fe1\u606f</h2>\n')
        # SOURCE LINE 157
        if 'method' in request.GET and request.GET['method'] == 'email' :
            # SOURCE LINE 158
            __M_writer(u'\t\t\t\t\t<div id="signup_mobile">\n\t\t\t\t\t\t<label>\u624b\u673a\u53f7</label>\n')
            # SOURCE LINE 160
            if 'mobile' in request.POST :
                # SOURCE LINE 161
                __M_writer(u'\t\t\t\t\t\t\t<input id="signup_input_mobile" name="mobile" class="validate[optional,funcCall[validateMobile]]" value="')
                __M_writer(filters.decode.utf8(request.POST['mobile']))
                __M_writer(u'"></input>\n')
                # SOURCE LINE 162
            else :
                # SOURCE LINE 163
                __M_writer(u'\t\t\t\t\t\t\t<input id="signup_input_mobile" name="mobile" class="validate[optional,funcCall[validateMobile]]" value=""></input>\n')
                pass
            # SOURCE LINE 165
            __M_writer(u'\t\t\t\t\t</div>\n')
            # SOURCE LINE 166
        else :
            # SOURCE LINE 167
            __M_writer(u'\t\t\t\t\t<div id="signup_email">\n\t\t\t\t\t\t<label>\u5e38\u7528\u90ae\u7bb1</label>\n')
            # SOURCE LINE 169
            if 'email' in request.POST :
                # SOURCE LINE 170
                __M_writer(u'\t\t\t\t\t\t\t<input type="input" id="signup_input_email" name="email" class="validate[optional,custom[email]]" value="')
                __M_writer(filters.decode.utf8(request.POST['email']))
                __M_writer(u'"></input>\n')
                # SOURCE LINE 171
            else :
                # SOURCE LINE 172
                __M_writer(u'\t\t\t\t\t\t\t<input type="input" id="signup_input_email" name="email" class="validate[optional,custom[email]]" value=""></input>\n')
                pass
            # SOURCE LINE 174
            __M_writer(u'\t\t\t\t\t</div>\n')
            pass
        # SOURCE LINE 176
        __M_writer(u'\t\t\t\t<div style="height:25px;"><a id="submit"></a></div>\n\t\t\t</form>\n\t\t</div>\n\t\t<div class="bottom"></div>\n\t</div>\n\t<div class="page_column_right_padding_left30">\n')
        # SOURCE LINE 182
        if 'method' in request.GET and request.GET['method'] == 'email' :
            # SOURCE LINE 183
            __M_writer(u'\t\t\t<h2>\u4e3a\u4ec0\u4e48\u6ce8\u518cFido\u9700\u8981\u624b\u673a\u53f7\uff1f</h2>\n\t\t\t<p>Fido\u793e\u533a\u63a8\u8350\u60a8\u7528\u624b\u673a\u53f7\u6ce8\u518c\u3002\u8fd9\u6837\uff0c\u60a8\u53ef\u4ee5\u6536\u5230\u6700\u65b0\u7684\u6821\u56ed\u54a8\u8baf\u3002</p>\n')
            # SOURCE LINE 185
        else :
            # SOURCE LINE 186
            __M_writer(u'\t\t\t<h2>\u4e3a\u4ec0\u4e48\u6ce8\u518cFido\u9700\u8981\u624b\u673a\u53f7\uff1f</h2>\n\t\t\t<p>Fido\u793e\u533a\u91c7\u7528<strong>\u5b9e\u540d\u5236</strong>\uff0c\u6240\u6709\u7528\u6237\u5c06\u4ee5\u624b\u673a\u53f7\u4e3aID\u767b\u5f55\u3002</p>\n\t\t\t<p>\u6211\u4eec\u5c06\u628a\u6ce8\u518c\u7684\u9a8c\u8bc1\u4fe1\u606f\u53d1\u5230\u60a8\u7684139\u90ae\u7bb1\uff0c139\u90ae\u7bb1\u7684\u767b\u5f55\u7f51\u5740\u662f<a href="http://mail.139.com/" target="_blank">mail.139.com</a>\u3002</p>\n\t\t\t<p>\u6211\u4eec\u4f1a\u5c06\u6bcf\u5929\u7684\u6700\u65b0\u8d44\u8baf\u53d1\u81f3\u60a8\u7684139\u90ae\u7bb1\u3002\u5982\u679c\u60a8\u5e0c\u671b\u5728\u7b2c\u4e00\u65f6\u95f4\u770b\u5230\u8fd9\u4e9b\u65b0\u9c9c\u8d44\u8baf\uff0c\u53ef\u4ee5\u5f00\u901a139\u90ae\u7bb1\u7684<strong>\u77ed\u4fe1\u63d0\u9192</strong>\u670d\u52a1\u3002</p>\n\t\t\t<p>\u5982\u679c\u60a8\u5e0c\u671b\u8fdb\u4e00\u6b65\u4e86\u89e3139\u90ae\u7bb1\u7684\u77ed\u4fe1\u63d0\u9192\u670d\u52a1\uff0c\u53ef\u4ee5\u67e5\u770b<a href="http://mail.10086.cn/ad/sms/sms-notice.htm" target="_blank">mail.10086.cn/ad/sms/sms-notice.htm</a>\u3002</p>\n\t\t\t<p>139\u90ae\u7bb1\u53ef\u4ee5\u901a\u8fc7\u77ed\u4fe1\u65b9\u5f0f\u5f00\u901a\uff0c\u60a8\u53ea\u9700\u7f16\u8f91\u77ed\u4fe1\u201cKTYX\u201d\u81f310086\u5373\u53ef\u3002</p>\n\t\t\t<p>\u5f53\u7136\uff0c\u60a8\u4e5f\u53ef\u4ee5\u9000\u8ba2\uff0c\u6216\u4f7f\u7528\u5176\u4ed6\u90ae\u7bb1\u6765\u63a5\u6536\u6211\u4eec\u7684\u8d44\u8baf\u3002\u60a8\u53ea\u9700\u8981\u5728\u60a8\u7684\u4e2a\u4eba\u9875\u9762\u4e2d\u8bbe\u7f6e\u76f8\u5173\u9009\u9879\u5c31\u53ef\u4ee5\u4e86\u3002</p>\n')
            pass
        # SOURCE LINE 194
        __M_writer(u'\t</div>\n</div>\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


